#!/bin/bash

VERSION=$1

docker image build -t oldboyedu-linux84-web:v0.${VERSION:-1} ..
docker image ls oldboyedu-linux84-web
docker container run -d -p 8081:8080 oldboyedu-linux84-web:v0.${VERSION:-1}
docker container ps -l
